<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>
(function () {
  // 在标准 375px 适配下，100px = 1rem;

    var baseFontSize = 100;
    var baseWidth = 375;

    var set = function () {
      var clientWidth =
        document.documentElement.clientWidth || window.innerWidth;

      var rem = 100;
      if (clientWidth != baseWidth) {
        rem = Math.floor((clientWidth / baseWidth) * baseFontSize);
      }
      document.querySelector("html").style.fontSize =
        rem >= 200 ? 190 + "px" : rem + "px";
    };
    set();

    window.addEventListener("resize", set);
})();
</script>
<style>
 .van-checkbox__icon--checked .van-icon{
  background: #109782 !important;
  border-color:  #109782 !important;
}
body {
  -webkit-overflow-scrolling: touch;
}
.big_box {
  height: calc(100vh - .31rem) !important;
}
</style>
